
const KEY = 'rental-vant-mobile-token'

// 保存token
export const setToken = (data) => {
  localStorage.setItem(KEY, data)
}

// 获取token
export const getToken = () => {
  return localStorage.getItem(KEY)
}

// 删除token
export const delToken = () => {
  localStorage.removeItem(KEY)
}
